import {
  HTTP
} from '../utils/http.js'

class CouponHttp extends HTTP {
  // 我的优惠券
  getMyCoupon(data) {
    return this.request({
      url: 's/yddgoods/GetMyCouponV2',
      method: 'POST',
      data: data
    })
  }

  // 营销人员优惠劵列表
  getOperateCoupon(data) {
    return this.request({
      url: 's/yddgoods/GetOperateCoupon',
      method: 'POST',
      data: data
    })
  }


  // 营销人员优惠劵详情
  getOperateCouponDetails(data) {
    return this.request({
      url: 's/yddgoods/OperateCouponDetails',
      method: 'POST',
      data: data
    })
  }


}
export {
  CouponHttp
}